<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix = "g" uri = "/WEB-INF/tags/userState.tld" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<g:us ></g:us>
<title>Your Balance</title>
</head>
<body>
<jsp:useBean id="user" class="gongshw.bank.model.User" scope="session"></jsp:useBean>
<jsp:useBean id="ad" class="gongshw.bank.action.business.Advertise" scope="page"></jsp:useBean>
<jsp:setProperty property="user" name="ad" value ="<%= user %>"/>

<% if(ad.showAd()){ %>
<%@ include file="/advertise/ad.jsp"%>
<% } %>

<p>Hey~<jsp:getProperty property="name" name="user"/>!</p>
<p>Your balance:￥<jsp:getProperty property="money" name="user"/></p>


<%@ include  file="/user/exit.html"%>

</body>
</html>